package posti.test.swf.web.action;

import java.io.Serializable;

import posti.test.swf.dao.Reference;

public interface Mapping/*<DTO,DomainObject>*/ extends Serializable {
	public Object toDTO(Object domainObject);
	public boolean isNew(Object dto);
	public Object newInstance(Object dto);
	public Reference reference(Object dto);
	public void synchronize(Object domainObject, Object dto);
//	public DTO toDTO(DomainObject domainObject);
//	public boolean isNew(DTO dto);
//	public DomainObject newInstance(DTO dto);
//	public Reference<DomainObject> reference(DTO dto);
//	public void synchronize(DomainObject domainObject, DTO dto);
}
